<?php
/**

 //  [DoYouHaoBaby!] Init APP - admin
 //  +---------------------------------------------------------------------
 //
 //  “Copyright”
 //  +---------------------------------------------------------------------
 //  | (C) 2010 - 2099 http://doyouhaobaby.net All rights reserved.
 //  | This is not a free software, use is subject to license terms
 //  +---------------------------------------------------------------------
 //
 //  “About This File”
 //  +---------------------------------------------------------------------
 //  | admin Index控制器
 //  +---------------------------------------------------------------------

*/

!defined('DYHB_PATH') && exit;

class IndexController extends InitController{

	public function index(){
		if($this->is_login() == false){
			$this->display('public/login');
		}else{
		$arrUserData=$GLOBALS['___login___'];
		$this->assign('User',$arrUserData);
		$this->display();
		}
	}

}
